package com.example.demo.util;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.HashMap;
import java.util.Map;

/**
 * @author Jack
 * @version V1.0
 * @Title:
 * @Description: ${TODO}
 * @date 2017/10/30 18:29
 */
@Component
@ConfigurationProperties(prefix = "spring.jpa")
public class HibernatePropertiesUtil {
    private Map<String, String> properties = new HashMap<>();

    public Map<String, String> getProperties() {
        return properties;
    }

    public void setProperties(Map<String, String> properties) {
        this.properties = properties;
    }
}
